

package at.fhj.itm.metadata;

import java.util.List;

/**
 *
 * @author Seuchter
 */
public interface Constraint extends MetadataItem{
    public static final String CONSTRAINT_TYPE_NOT_NULL = "not_null";
    public static final String CONSTRAINT_TYPE_PRIMARY_KEY = "primary_key";
    public static final String CONSTRAINT_TYPE_UNIQUE = "unique";
    public static final String CONSTRAINT_TYPE_CHECK = "check";
    public static final String CONSTRAINT_TYPE_FOREIGN = "foreign_key";

    public String getConstraintType();
    public List<? extends Column> getConstraintColumns();


}
